﻿<local:BaseWindow
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:PSE.Deployment.SetupBase.UI"
	x:Class="PSE.Deployment.SetupBase.UI.InstallationProgress"
	Title="Setup">

    <Grid>
        <Button HorizontalAlignment="Right" Style="{DynamicResource BotaoFechar}" VerticalAlignment="Top" Width="15" Height="15" Content="" Margin="0,15,15,0" x:Name="BtnClose" IsEnabled="{Binding AllowClose}" />
                
        <TextBlock Margin="50,124,0,0" VerticalAlignment="Top" Text="{Binding GroupDescription}" HorizontalAlignment="Left" Height="Auto" Width="900" Foreground="#FF336699" FontSize="24" FontWeight="Bold" TextWrapping="NoWrap" />
        <Label Margin="50,160,0,0" VerticalAlignment="Top" FontSize="12" Foreground="#FF333333" Content="Por favor, aguarde..." Language="pt-br" HorizontalAlignment="Left" Height="Auto" Width="Auto" />

        <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding StepDescription}" FontSize="12" Foreground="#FF333333" Margin="50,203,0,0" Height="Auto" Width="820" TextWrapping="NoWrap" />
		<Label x:Name="lblTotalProgress" HorizontalAlignment="Right" HorizontalContentAlignment="Right" VerticalAlignment="Top" FontSize="12" Foreground="#FF333333" Margin="0,203,50,0" Height="Auto" Width="167" />
        <ProgressBar VerticalAlignment="Top" Height="21" Margin="50,225,0,0" Style="{DynamicResource ProgressBarPSE}" x:Name="prgTotalProgress" HorizontalAlignment="Left" Width="860" />
		
        <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="{Binding ProgressDescription}" FontSize="12" Foreground="#FF333333" Margin="50,265,0,0" Height="Auto" Width="820" TextWrapping="NoWrap"/>
        <Label x:Name="lblStepProgress" HorizontalAlignment="Right" HorizontalContentAlignment="Right" VerticalAlignment="Top" FontSize="12" Foreground="#FF333333" Margin="0,265,50,0" Height="Auto" Width="167" />
        <ProgressBar VerticalAlignment="Top" Height="21" Margin="50,287,0,0" Style="{DynamicResource ProgressBarPSE}" x:Name="prgStepProgress" HorizontalAlignment="Left" Width="860" />
                
        <Button Margin="0,0,50,50" x:Name="BtnCancel" Style="{DynamicResource setupBt}" Content="Cancelar" Background="{DynamicResource BtBackColor}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="80" Height="21" Foreground="#FFFFFFFF" IsEnabled="{Binding AllowCancel}" />
	</Grid>
</local:BaseWindow>